﻿using Abp.Dependency;
using DHJ.Cost.MessageHandle;
using DHJ.Messages.Quality;
using NServiceBus;

namespace DHJ.Cost.Quality
{
    public class KitItemDeleteHandler : IHandleMessages<KitItemDeleted>
    {
        public async System.Threading.Tasks.Task Handle(KitItemDeleted message, IMessageHandlerContext context)
        {
            var handler = IocManager.Instance.Resolve<MessageHandleAppService>();
            await handler.HandleKitItemDelete(message);
        }
    }
}